import * as BABYLON from "babylonjs";

export const Mt_Body = (scene) => {
  const material = new BABYLON.StandardMaterial("Mt_Body", scene);
  material.diffuseColor = new BABYLON.Color3.FromHexString("#ff0000"); // 车身颜色
  return material;
};
export const Mt_ABS_Black_Mat = (scene) => {
  const material = new BABYLON.StandardMaterial("Mt_ABS_Black_Mat", scene);
  material.diffuseColor = new BABYLON.Color3.FromHexString("#000000"); // 前脸
  return material;
};
export const Mt_WindScreens = (scene) => {
  const material = new BABYLON.StandardMaterial("Mt_WindScreens", scene);
  material.diffuseColor = new BABYLON.Color3.FromHexString("#fff"); // 玻璃
  material.alpha = 0.2;
  return material;
};

export const Mt_Glass_Lens = (scene) => {
  const material = new BABYLON.StandardMaterial("Mt_Glass_Lens", scene);
  material.diffuseColor = new BABYLON.Color3.FromHexString("#fff"); // 玻璃
  return material;
};

export const transparentMaterial = (scene) => {
  const material = new BABYLON.StandardMaterial("transparentMaterial", scene);
  material.diffuseColor = new BABYLON.Color3.FromHexString("#fff"); // 玻璃
  return material;
};
export const Mt_Tyres_Hub = (scene) => {
  const material = new BABYLON.StandardMaterial("Mt_Tyres_Hub", scene);
  material.diffuseColor = new BABYLON.Color3.FromHexString("#929396"); // 玻璃
  return material;
};
export const Mt_Abs_Black_Gloss = (scene) =>{
  const material = new BABYLON.StandardMaterial("Mt_Abs_Black_Gloss", scene);
  material.diffuseColor = new BABYLON.Color3.FromHexString("#000"); //
  return material;
}

